﻿using Max.PH5_2011A.Domain;
using Max.PH5_2011A.Domain.Order;
using Microsoft.EntityFrameworkCore;

namespace Max.PH5_2011A.DAL
{
    public class MyDbContext :DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) : base(options) { }


        public DbSet<ProductSpuModel>  ProductSpus { get; set; }
        public DbSet<ProductSkuImageModel>  ProductSkuImages { get; set; }
        public DbSet<ProductBrandModel>  ProductBrands { get; set; }
        public DbSet<ProductCategoryModel>   ProductCategories { get; set; }
        public DbSet<ProductStoreModel>  ProductStores { get; set; }
        public DbSet<ProductSkuModel>  ProductSkus { get; set; }
        public DbSet<ProductSpuSpecsModel> ProductSpuSpecs { get; set; }

        //20230531
        public DbSet<MemberInfoModel>  MemberInfos { get; set; }


        //20230602
        public DbSet<MemberAddressModel> MemberAddress { get; set; }
        public DbSet<CityModel> Cities { get; set; }


        //20230605
        public DbSet<OrderMasterModel> orderMasters { get; set; }
        public DbSet<OrderDetailModel> orderDetails { get; set; }


    }
}